package org.codetranslators.compiler.tiger.abssyntree;

public class ForExp extends Exp {
   private VarDec var;
   private Exp hi, body;
   
   public ForExp(int p, VarDec v, Exp h, Exp b) 
   {
	   pos=p; var=v; hi=h; body=b;
   }
   
   public VarDec getVarDec()
   {
	   return var;
   }
   
   public Exp getHigh()
   {
	   return hi;
   }
   
   public Exp getBody()
   {
	   return body;
   }
}
